package com.tanxi521.tnweb.model;

import java.util.Date;

public class WebUser {
    private Integer id;

    private String userId;

    private String userPassword;

    private Date regTime;

    private Date lastLoginTime;

    private Integer isBound;

    private Integer mcId;

    private String headImg;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword == null ? null : userPassword.trim();
    }

    public Date getRegTime() {
        return regTime;
    }

    public void setRegTime(Date regTime) {
        this.regTime = regTime;
    }

    public Date getLastLoginTime() {
        return lastLoginTime;
    }

    public void setLastLoginTime(Date lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    public Integer getIsBound() {
        return isBound;
    }

    public void setIsBound(Integer isBound) {
        this.isBound = isBound;
    }

    public Integer getMcId() {
        return mcId;
    }

    public void setMcId(Integer mcId) {
        this.mcId = mcId;
    }

    public String getHeadImg() {
        return headImg;
    }

    public void setHeadImg(String headImg) {
        this.headImg = headImg == null ? null : headImg.trim();
    }

    @Override
    public String toString() {
        return "WebUser{" +
                "id=" + id +
                ", userId='" + userId + '\'' +
                ", userPassword='" + userPassword + '\'' +
                ", regTime=" + regTime +
                ", lastLoginTime=" + lastLoginTime +
                ", isBound=" + isBound +
                ", mcId=" + mcId +
                ", headImg='" + headImg + '\'' +
                '}';
    }
}